import request from "@/utils/axios";
export function uploadXML(data) {
    return request({
        path: "/node/translate/uploadXML",
        data,
    });
}
export function getFileList(data) {
    return request({
        path: "/node/translate/getFileList",
        data,
    });
}
export function getChildTaskList(data) {
    return request({
        path: "/node/translate/getChildTaskList",
        data,
    });
}
export function childTaskTranslateTextForMultiLang(data) {
    return request({
        path: "/node/translate/childTaskTranslateTextForMultiLang",
        data,
    });
}
export function saveChildBatch(data) {
    return request({
        path: "/node/translate/saveChildBatch",
        data,
    });
}
export function saveSubmit(data) {
    return request({
        path: "/node/translate/saveSubmit",
        data,
    });
}
export function getLangListByPk(data) {
    return request({
        path: "/node/translate/getLangListByPk",
        data,
    });
}
export function getChildTaskListSingle(data) {
    return request({
        path: "/node/translate/getChildTaskListSingle",
        data,
    });
}
export function oneClickTranslation(data) {
    return request({
        path: "/node/translate/oneClickTranslation",
        data,
    });
}
export function downloadXML(data) {
    return request({
        path: "/node/translate/downloadXML",
        data,
        responseType: "blob", // 确保响应类型是 blob
    });
}

